package system

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/system/v1"
)

func (c *ControllerV1) FileMenus(ctx context.Context, req *v1.FileMenusReq) (res *v1.FileMenusRes, err error) {
	res = &v1.FileMenusRes{}
	res.Rows, err = service.SysFile().Menus(ctx)
	return
}
